package net.huashitong.Indicators.service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.Indicators.dao.BA01Dao;
import net.huashitong.Indicators.entity.BA01;
import net.huashitong.Indicators.filter.BA01Filter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BA01Service extends StringPKService<BA01> {
    @Autowired
    private BA01Dao dao;

    @Override
    protected BaseDao<BA01, String> getDao() {
        return dao;
    }

    public List<BA01> getAllCourse(BA01Filter filter)
    {
        return dao.getAllCourse(filter);
    }


}
